package com.sdp.wx.db.wx_repair_team.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2024-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_repair_team")
public class WxRepairTeam extends Model<WxRepairTeam> {

    private static final long serialVersionUID=1L;

    /**
     *  内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 班组名称
     */
    @TableField("team_name")
    private String teamName;

    /**
     * 是否可用
     */
    @TableField("is_use")
    private String isUse;

    /**
     * 排序
     */
    @TableField("team_order")
    private Integer teamOrder;
    
    /**
     * 所属单位
     */
    @TableField("org_no")
    private String orgNo;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
